export class RedisAdapter {
  static createClient(url: string) {
    // 这里返回一个 minimal stub；在真实项目中用 ioredis 或 redis 客户端
    return {
      url,
      connect: async () => {},
      get: async (k: string) => null,
      set: async (k: string, v: string) => {},
      publish: async (ch: string, msg: string) => {}
    };
  }
}
